package com.tegtech.common.exception;

import com.tegtech.common.enums.HttpStatus;

/**
 * 自定义异常
 * 
 * @author Jun
 */
public class BusinessException extends BaseException {
	
	private static final long serialVersionUID = 1L;

	public BusinessException(String message) {
		super(message);
	}

	public BusinessException(Integer code, String message) {
		super(code, message);
	}

	public BusinessException(HttpStatus HttpStatus) {
		super(HttpStatus.getCode(), HttpStatus.getMessage());
	}
	
}
